 <div id="form_add_image " class="row-fluid">
  <% @transport_image = TransportImage.new %>
  <div class=" span12">
    <%= form_for(@transport_image, :html => {remote: true, id: "form_transport_image" }) do |f| %>
        <%= f.hidden_field :transport_id, {value: transport_id} %>
        <%= f.file_field :image, class: "checkbox" %>
        <%= f.submit "Add Image", class: "btn btn-primary checkbox", style: "margin-left:30px;" %> 
    <% end %>
  </div>  
</div> 